package top.songxs.gmall.product.mapper;

import org.springframework.stereotype.Repository;
import top.songxs.gmall.product.entity.BaseCategory1;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.songxs.gmall.product.view.CategoryView;
import top.songxs.gmall.product.vo.CategoryVo;

import java.util.List;

/**
* @author 86176
* @description 针对表【base_category1(一级分类表)】的数据库操作Mapper
* @createDate 2023-05-15 20:14:07
* @Entity top.songxs.gmall.product.entity.BaseCategory1
*/
@Repository
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    List<CategoryVo> findAllCategoryTree();

    CategoryView findAllCategory(Long skuId);
}




